From 1a12999431523772b08108daf816b4faf863745c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 31 Oct 2020 00:36:47 -0400 Subject: [PATCH] testsuite: Add a css test This test verifies that CDO and CDC are ignored as required. --- testsuite/css/parser/cdo-cdc.css | 7 +++++++ testsuite/css/parser/cdo-cdc.ref.css | 3 +++ testsuite/css/parser/meson.build | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 testsuite/css/parser/cdo-cdc.css create mode 100644 testsuite/css/parser/cdo-cdc.ref.css diff --git a/testsuite/css/parser/cdo-cdc.css b/testsuite/css/parser/cdo-cdc.css new file mode 100644 index 0000000000..3670c19285 --- /dev/null +++ b/testsuite/css/parser/cdo-cdc.css @@ -0,0 +1,7 @@ + diff --git a/testsuite/css/parser/cdo-cdc.ref.css b/testsuite/css/parser/cdo-cdc.ref.css new file mode 100644 index 0000000000..e53c8cfd5c --- /dev/null +++ b/testsuite/css/parser/cdo-cdc.ref.css @@ -0,0 +1,3 @@ +label { + color: rgb(255,0,0); +} diff --git a/testsuite/css/parser/meson.build b/testsuite/css/parser/meson.build index 7ffd5d2644..380489427c 100644 --- a/testsuite/css/parser/meson.build +++ b/testsuite/css/parser/meson.build @@ -197,6 +197,8 @@ test_data = [ 'calc.ref.css', 'calc-simple.css', 'calc-simple.ref.css', + 'cdo-cdc.css', + 'cdo-cdc.ref.css', 'close-at-end-of-file.css', 'close-at-end-of-file.errors', 'close-at-end-of-file.ref.css', -- 2.30.2